package item;

public class Samochod implements Obiekt {
	private int id;
	private double arrivalTime;
	
	public Samochod(int id, double arrivalTime) {
		this.id = id;
		this.arrivalTime = arrivalTime;
	}

	@Override
	public int dajID() {
		return this.id;
	}

	@Override
	public double dajCzasPrzybycia() {
		return this.arrivalTime;
	}

}
